package com.runfast.paotui.dao.model;

import java.io.Serializable;
import java.util.Date;

public class WpWxaccount implements Serializable {
    private Integer id;

    private String accessToken;

    private String account;

    private String apiCode;

    private String appID;

    private String appSecret;

    private Date applyTime;

    private Date createTime;

    private Integer jsapiExpiresIn;

    private String jsapiTicket;

    private Date jsapiTicketTime;

    private Date modifyTime;

    private String passwd;

    private Integer status;

    private String token;

    private Date tokenTime;

    private String welcomeMsg;

    private String wxName;

    private String wxPartnerKey;

    private String wxPayMchId;

    private String wxNotifyUrl;

    private String shopAppID;

    private String shopAppSecret;

    private String shopwxPayMchId;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public WpWxaccount withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public WpWxaccount withAccessToken(String accessToken) {
        this.setAccessToken(accessToken);
        return this;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken == null ? null : accessToken.trim();
    }

    public String getAccount() {
        return account;
    }

    public WpWxaccount withAccount(String account) {
        this.setAccount(account);
        return this;
    }

    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    public String getApiCode() {
        return apiCode;
    }

    public WpWxaccount withApiCode(String apiCode) {
        this.setApiCode(apiCode);
        return this;
    }

    public void setApiCode(String apiCode) {
        this.apiCode = apiCode == null ? null : apiCode.trim();
    }

    public String getAppID() {
        return appID;
    }

    public WpWxaccount withAppID(String appID) {
        this.setAppID(appID);
        return this;
    }

    public void setAppID(String appID) {
        this.appID = appID == null ? null : appID.trim();
    }

    public String getAppSecret() {
        return appSecret;
    }

    public WpWxaccount withAppSecret(String appSecret) {
        this.setAppSecret(appSecret);
        return this;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret == null ? null : appSecret.trim();
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public WpWxaccount withApplyTime(Date applyTime) {
        this.setApplyTime(applyTime);
        return this;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public WpWxaccount withCreateTime(Date createTime) {
        this.setCreateTime(createTime);
        return this;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getJsapiExpiresIn() {
        return jsapiExpiresIn;
    }

    public WpWxaccount withJsapiExpiresIn(Integer jsapiExpiresIn) {
        this.setJsapiExpiresIn(jsapiExpiresIn);
        return this;
    }

    public void setJsapiExpiresIn(Integer jsapiExpiresIn) {
        this.jsapiExpiresIn = jsapiExpiresIn;
    }

    public String getJsapiTicket() {
        return jsapiTicket;
    }

    public WpWxaccount withJsapiTicket(String jsapiTicket) {
        this.setJsapiTicket(jsapiTicket);
        return this;
    }

    public void setJsapiTicket(String jsapiTicket) {
        this.jsapiTicket = jsapiTicket == null ? null : jsapiTicket.trim();
    }

    public Date getJsapiTicketTime() {
        return jsapiTicketTime;
    }

    public WpWxaccount withJsapiTicketTime(Date jsapiTicketTime) {
        this.setJsapiTicketTime(jsapiTicketTime);
        return this;
    }

    public void setJsapiTicketTime(Date jsapiTicketTime) {
        this.jsapiTicketTime = jsapiTicketTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public WpWxaccount withModifyTime(Date modifyTime) {
        this.setModifyTime(modifyTime);
        return this;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getPasswd() {
        return passwd;
    }

    public WpWxaccount withPasswd(String passwd) {
        this.setPasswd(passwd);
        return this;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd == null ? null : passwd.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public WpWxaccount withStatus(Integer status) {
        this.setStatus(status);
        return this;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getToken() {
        return token;
    }

    public WpWxaccount withToken(String token) {
        this.setToken(token);
        return this;
    }

    public void setToken(String token) {
        this.token = token == null ? null : token.trim();
    }

    public Date getTokenTime() {
        return tokenTime;
    }

    public WpWxaccount withTokenTime(Date tokenTime) {
        this.setTokenTime(tokenTime);
        return this;
    }

    public void setTokenTime(Date tokenTime) {
        this.tokenTime = tokenTime;
    }

    public String getWelcomeMsg() {
        return welcomeMsg;
    }

    public WpWxaccount withWelcomeMsg(String welcomeMsg) {
        this.setWelcomeMsg(welcomeMsg);
        return this;
    }

    public void setWelcomeMsg(String welcomeMsg) {
        this.welcomeMsg = welcomeMsg == null ? null : welcomeMsg.trim();
    }

    public String getWxName() {
        return wxName;
    }

    public WpWxaccount withWxName(String wxName) {
        this.setWxName(wxName);
        return this;
    }

    public void setWxName(String wxName) {
        this.wxName = wxName == null ? null : wxName.trim();
    }

    public String getWxPartnerKey() {
        return wxPartnerKey;
    }

    public WpWxaccount withWxPartnerKey(String wxPartnerKey) {
        this.setWxPartnerKey(wxPartnerKey);
        return this;
    }

    public void setWxPartnerKey(String wxPartnerKey) {
        this.wxPartnerKey = wxPartnerKey == null ? null : wxPartnerKey.trim();
    }

    public String getWxPayMchId() {
        return wxPayMchId;
    }

    public WpWxaccount withWxPayMchId(String wxPayMchId) {
        this.setWxPayMchId(wxPayMchId);
        return this;
    }

    public void setWxPayMchId(String wxPayMchId) {
        this.wxPayMchId = wxPayMchId == null ? null : wxPayMchId.trim();
    }

    public String getWxNotifyUrl() {
        return wxNotifyUrl;
    }

    public WpWxaccount withWxNotifyUrl(String wxNotifyUrl) {
        this.setWxNotifyUrl(wxNotifyUrl);
        return this;
    }

    public void setWxNotifyUrl(String wxNotifyUrl) {
        this.wxNotifyUrl = wxNotifyUrl == null ? null : wxNotifyUrl.trim();
    }

    public String getShopAppID() {
        return shopAppID;
    }

    public WpWxaccount withShopAppID(String shopAppID) {
        this.setShopAppID(shopAppID);
        return this;
    }

    public void setShopAppID(String shopAppID) {
        this.shopAppID = shopAppID == null ? null : shopAppID.trim();
    }

    public String getShopAppSecret() {
        return shopAppSecret;
    }

    public WpWxaccount withShopAppSecret(String shopAppSecret) {
        this.setShopAppSecret(shopAppSecret);
        return this;
    }

    public void setShopAppSecret(String shopAppSecret) {
        this.shopAppSecret = shopAppSecret == null ? null : shopAppSecret.trim();
    }

    public String getShopwxPayMchId() {
        return shopwxPayMchId;
    }

    public WpWxaccount withShopwxPayMchId(String shopwxPayMchId) {
        this.setShopwxPayMchId(shopwxPayMchId);
        return this;
    }

    public void setShopwxPayMchId(String shopwxPayMchId) {
        this.shopwxPayMchId = shopwxPayMchId == null ? null : shopwxPayMchId.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", accessToken=").append(accessToken);
        sb.append(", account=").append(account);
        sb.append(", apiCode=").append(apiCode);
        sb.append(", appID=").append(appID);
        sb.append(", appSecret=").append(appSecret);
        sb.append(", applyTime=").append(applyTime);
        sb.append(", createTime=").append(createTime);
        sb.append(", jsapiExpiresIn=").append(jsapiExpiresIn);
        sb.append(", jsapiTicket=").append(jsapiTicket);
        sb.append(", jsapiTicketTime=").append(jsapiTicketTime);
        sb.append(", modifyTime=").append(modifyTime);
        sb.append(", passwd=").append(passwd);
        sb.append(", status=").append(status);
        sb.append(", token=").append(token);
        sb.append(", tokenTime=").append(tokenTime);
        sb.append(", welcomeMsg=").append(welcomeMsg);
        sb.append(", wxName=").append(wxName);
        sb.append(", wxPartnerKey=").append(wxPartnerKey);
        sb.append(", wxPayMchId=").append(wxPayMchId);
        sb.append(", wxNotifyUrl=").append(wxNotifyUrl);
        sb.append(", shopAppID=").append(shopAppID);
        sb.append(", shopAppSecret=").append(shopAppSecret);
        sb.append(", shopwxPayMchId=").append(shopwxPayMchId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}